package com.kou.backend.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 列表查询基础DTO对象
 *
 * @author: Kou
 * @since: 2023/9/2 13:45
 */
@Data
public class QueryListBaseDTO {
    /**
     * 页码
     */
    @NotNull(message = "页码不能为空")
    @Schema(name = "pageNum", description = "页码", required = true)
    private Integer pageNum;
    /**
     * 分页大小
     */
    @NotNull(message = "分页大小不能为空")
    @Schema(name = "pageSize", description = "分页大小", required = true)
    private Integer pageSize;
}
